Release 10.1A: OpenEdge Development:
Progress 4GL Reference
LAST-OF function
Returns a TRUE value if the current iteration of a DO, FOR EACH, or REPEAT . . . BREAK block is the last iteration for a particular value of a break group.
Syntax
break-groupThe name of a field or expression you named in the block header with the BREAK BY option.
ExampleThis procedure uses LAST-OF to display a single line of information on each cat-page group in the item file, without displaying any individual item data. It produces a report that shows the aggregate value on-hand for each catalog page.
See also
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |